package com.example.springboot.service;

import com.github.pagehelper.PageInfo;
import com.example.springboot.domain.Resource;
import com.example.springboot.domain.ResourseVo;

import java.util.List;

public interface ResourceService {

   /*（
        资源分页&多条件查询
     */
//     PageInfo<Resource> findAllResourceByPage(ResourseVo resourseVo);

   PageInfo<Resource> findAllResourceByPage(ResourseVo resourseVo);

     //增加资源信息
     void addResource(Resource resource);

     //修改资源信息
     void updateResource(Resource resource);

     //删除资源信息
     void deleteResource(Integer id);

}
